home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
BARNET
/
FREENET
/
AEBY
/
SMAILRM-
/
README
< prev
Wrap
Text File
|
1995-07-02
|
5KB
|
143 lines
This is the module release of smail.
The only significant change to the release from 29.5.1995 is that
smail now runs as a module. This basically means that when you start
smail the module is loaded, then executes your command and then dies
again (you can install the module residently by executing the command
smail -bp -oBresident). The basic advantage is that multiple copies
of smail can run concurrently without each time loading the whole
program (time/disk) and with code sharing (memory).
I still miss comments on this port of smail ...
If I won't get any I'll abort development.
1. Installing
1. Copy the usr directory to $.usr
2. Edit $.usr.smail.lib.config (only visible_name and hostnames absolutely
need to be changed) and
$.usr.smail.lib.routers (change "path=" of the smarthost
driver to the FQDN of your mail server)
3. edit etc.passwd (replace user1 by the name of you)
you can add new users by using !NewsBase's menus
4. add the "Newsbase.smtp" directory to !NewsBase transports
(Not really tested but should work)
5. run !boot
6. copy bin.smailrm and bin.runqwrap into a directory contained
in your run$path
6. you can now run !run (or do something different - I suggest
you have a look at the !boot file to see what functions
smail provide - I just say "aliases")
2. Installing if you have already got uucp/smail installed
1. replace !uucp.bin.smail by bin.smailrm
2. add the host, addr out of usr.smail.lib.routers entries to
/usr/smail/lib/routers (either $.usr.smail.routers or
!uucp.usr.smail.routers), replace the smarthost entry
3. add the smtp entry to /usr/smail/lib/transports
4. copy the "set alias..." commands out of the !boot file
into !uucp.!boot (don't forget to run !boot after).
... should be all ...
5. re-run !uucp_conf if you want to remove SMTP support
3. Functionality:
!run: runs smail in daemon mode (-bd) as a wimp task (-oW), listen
to the smtp port for incoming connections and run through
the spooled mail queue every 5 minutes (-q5m)
Whenever an incoming connection is detected in_smtpd is run
on the specific port (yep, another wimp task using about 448k)
When the queue re-run time is reached runq is run (yet another
wimp task using about 1Meg!)
Memory requirements: 320k + 1Meq when running through the queue
+ 448k for every open incoming connection
smtpd: read smtp commands from the keyboard (stdin resp.) and output
responses to the screen (stdout resp.)
runq: start up a wimp task running through the mail queue and trying
to send the spooled messages
rsmtp: run batchsmtp mode - take smtp commands from stdin
in_smtpd: run a smtpd daemon for an incoming connection. This command
is executed by "!run" for every incoming connection. Please don't
run this command manually.
Received messages will only be stored in the mail queue rather
than being directly delivered. This is preferable if you run
an "expensive" connection to the outer world (e.g. SLIP over
modem) as this will be much faster than delivering immediately.
Messages will be delivered on the next runq run.
mailq: list the messages queued for delivery
rmail: read a message from stdin and deliver to the addresses given
on the command line (e.g. "rmail test@anywhere.com")
4. Known Bugs
Many of them ... a selection:
1. no MX (DNS) support ("bind" router driver)
2. sometimes crashes when memory is low
4. smail has mostly been tested with ACORN's TCP/IP suite -
I don't know if it'll work with freenet correctly.
Send bug reports to aeby@graeff.com, please!
5. Further documentation
Get the UUCP documentation from hensa (the man pages are too large
to include them here). It includes the smail documentation.
To add:
There are some RISC OS specific options:
-oW[name] (e.g. smail -bd -oWsmail_daemon)
run smail as a wimp task (if possible - if
wimp_init fails fall back into CLI command mode).
Use name (optional) as the name appearing in
the Task display.
The wimp task can only be quit in the
Task display (or if the program quits by itself)
-ssocketnumber (e.g. smail -bd -s10)
This option does only make sense together with the
-bd option and does then mean:
Run smail in daemon mode serving one open connection
on the open socket "socketnumber". This option is
used by in_smtpd
-oBname rmkill the module "name" on exit.
Thomas Aeby,
2.7.95
Send comments to aeby@graeff.com, please